fat.c: fix printf() length modifier
authorAndreas Bießmann <[email protected]>
Thu, 15 Dec 2011 08:56:54 +0000 (09:56 +0100)
committerWolfgang Denk <[email protected]>
Sat, 17 Dec 2011 22:56:40 +0000 (23:56 +0100)
commit2d1b83b346431bfee7574822d356e5a28ead21d3
treeb38d8d0d69bd3c38d857913a9a51ab822b301212
parenta97f6efdb1b4281d9e733a7b73735c5ed2e5cfcb
fat.c: fix printf() length modifier

The DIRENTSPERBLOCK utilizes sizeof() which will return a size_t which has no
fixed size. Therefor use correct length modifer for printf() statement to
prevent compiler warnings.

This patch fixes following warning:

---8<---
fat.c: In function 'do_fat_read':
fat.c:879: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
--->8---

Signed-off-by: Andreas Bießmann <[email protected]>
cc: Mike Frysinger <[email protected]>
cc: Thomas Chou <[email protected]>
cc: [email protected]
cc: [email protected]
Acked-by: Mike Frysinger <[email protected]>
fs/fat/fat.c